package com.letme.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.letme.common.annotation.Excel;
import com.letme.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 微信登录用户对象
 * @Description
 * @Author lock-xq
 * @Date 2025/9/11 17:00
 **/
@Data
public class WxUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 微信用户编号 */
    @TableId(value = "wx_user_id", type = IdType.AUTO)
    private Long wxUserId;

    /** 部门编号 */

    @Excel(name = "部门编号")
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "部门名称")
    private String deptName;

    /** 微信唯一标识 */

    @Excel(name = "微信唯一标识")
    private String openId;

    /** 头像地址 */

    @Excel(name = "头像地址")
    private String wxAvatar;

    /** 微信昵称 */

    @Excel(name = "微信昵称")
    private String wxUserName;

    /** 用户姓名 */

    @Excel(name = "用户姓名")
    private String realName;

    /** 用户手机号 */

    @Excel(name = "用户手机号")
    private String phone;

    /** 身份证号 */

    @Excel(name = "身份证号")
    private String identityCardNum;

    /** 性别 */

    @Excel(name = "性别")
    private Long sex;

    /** 是否删除 */

    @Excel(name = "是否删除")
    private int delFlag;
}
